/**
 * 
 */
package org.cuatrovientos.quiniela;

import java.util.Random;

/**
 * @author mikel_luquin
 *
 */
public class Quiniela {//these program generate football pools

	/**
	 * @param args
	 */
	
		public static void main(String[] args) {
			
			//Declare random
			Random random = new Random();
			
			//We cannot hold the random number as an integer directly. So I declare another holder.		
			int randomresult = 0;

			for (int i = 0; i < 15; i++){
				randomresult = random.nextInt(3); //This is going to generate another number (Range 3, 0 or 1 or 2)
				if (randomresult == 0) {
					System.out.println(i + 1 + "._ 1");
					}
				if (randomresult == 1) {
					System.out.println(i + 1 + "._ X");
					}
				if (randomresult == 2) {
					System.out.println(i + 1 + "._ 2");
					}
			}
		}
	}


